package com.company.entity;

public class Novel {
    private String name;        //小说的名称
    private String author;      //小说的作者
    private String filename;    //小说的路径名称
    private Type type;          //小说的类型信息

    public Novel() {
    }

    public Novel(String name, String author, String filename, Type type) {
        this.name = name;
        this.author = author;
        this.filename = filename;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }
}
